package com.yitiao.base;

import java.security.SecureRandom;

public class RandomTest {
    public static void main(String[] args) {
        // 获取随机概率值
        SecureRandom secureRandom = new SecureRandom();
        int randomVal = secureRandom.nextInt(100) + 1;
        System.out.println(randomVal);
    }
}
